from django.urls import path

from apps.users import views

app_name = 'users'
urlpatterns = [
    path('register/', views.RegisterView.as_view(), name='register'),
    path('usernames/<slug:username>/count/', views.UsernameCountView.as_view(), name='username_count'),
    # 手机号校验
    path('mobiles/<slug:mobile>/count/', views.MobileCountView.as_view(), name='mobile_count'),
    # 退出登录
    path('logout/', views.LogoutView.as_view(), name='logout'),
]
